import request from '../utils/request'

export default{

    //上传图片
    uploadPicture(){
        return request.post(`/api/file-center/file/uploadPicture`)
    },

    //发送消息
    sendMessage(data){
        return request.post(`/api/notice-center/notice/sendMessage`,data)
    },
    //查看当前用户未读消息get
    getNoticeList(data){
        return request.post(`/api/notice-center/noticeMsg/page`,data)
    },
    
    //详细详情
    getNoticeById(noticeId){
        return request.post(`/api/notice-center/noticeMsg/getNoticeById`,noticeId)
    },

}